﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace S4Store.Domain.Report
{
    public class AvgSellerReport : SellerCommonReport
    {
        public int AvgCount { get; set; }
        public SellerCommonReport Report { get; set; }
        
        public AvgSellerReport(int avgcount,SellerCommonReport real)
        {
            AvgCount = avgcount;
            Report = real;
        }

        /// <summary>
        /// 月初尚存意向客户数
        /// </summary>
        public override int LastMonthPotentialClient
        {
            get
            {
                return Report.LastMonthPotentialClient/AvgCount;
            }
        }
        /// <summary>
        /// 累计订单数
        /// </summary>
        public override int OrderCount
        {
            get
            {
                return Report.OrderCount / AvgCount;
            }
        }
        /// <summary>
        /// 累计交车数
        /// </summary>
        public override int SaleCount
        {
            get
            {
                return Report.SaleCount / AvgCount;
            }
        }
        /// <summary>
        /// 销售目标
        /// </summary>
        public override int SaleTarget
        {
            get
            {
                return Report.SaleTarget / AvgCount;
            }
        }
        /// <summary>
        /// 首   次   来   店  客   户   登   记   数
        /// </summary>
        public override int SCLDKHDJS
        {
            get { return Report.SCLDKHDJS / AvgCount; }
        }
        /// <summary>
        /// 首   次   来   店  接   待   批   次
        /// </summary>
        public override int LDJDPC
        {
            get { return Report.LDJDPC / AvgCount; }
        }

        /// <summary>
        /// 首次来店登记率
        /// </summary>
        public override decimal SCLDDJLV
        {
            get
            {

                return Report.LastMonthPotentialClient;
            }
        }
        /// <summary>
        /// 试  驾  邀  请  书  填  写  数
        /// </summary>
        public override int SJYQSTXS
        {
            get
            {
                return Report.SJYQSTXS / AvgCount;
            }
        }
        /// <summary>
        /// 试乘试驾率
        /// </summary>
        public override decimal SCSJLV
        {
            get
            {
                return Report.SCSJLV;
            }
        }
        /// <summary>
        /// 试  驾  客  户   成   交   数
        /// </summary>
        public override int SJKHCJS
        {
            get
            {
                return Report.SJKHCJS / AvgCount;
            }
        }

        /// <summary>
        /// 试乘试驾成交率
        /// </summary>
        public override decimal SCSJCJLV
        {
            get
            {
                return Report.SCSJCJLV;
            }
        }
        /// <summary>
        /// 登记客户成交率
        /// </summary>
        public override decimal DJKHCJLV
        {
            get
            {
                return Report.DJKHCJLV;
            }
        }
        /// <summary>
        /// 上月遗留客户新增订单
        /// </summary>
        public override int SYYLKHXZDD
        {
            get
            {
                return Report.SYYLKHXZDD / AvgCount;
            }
        }
        /// <summary>
        /// 上月客户转化率
        /// </summary>
        public override decimal SYKHZHLV
        {
            get
            {

                return Report.SYKHZHLV;
            }
        }
        /// <summary>
        /// 超   限   价   格   成   交   数
        /// </summary>
        public override int CXJGCJS
        {
            get
            {
                return Report.CXJGCJS / AvgCount;
            }
        }
        /// <summary>
        /// 超限价格成交率
        /// </summary>
        public override decimal CXJGCJLV
        {
            get
            {
                return Report.CXJGCJLV;
            }
        }
        /// <summary>
        /// 首   次   来   店     登   记   数  目  标
        /// </summary>
        public override int SCLDDJMB
        {
            get
            {
                return Report.SCLDDJMB / AvgCount;
            }
        }

        /// <summary>
        /// 首次来店接待目标
        /// </summary>
        public override decimal SCLDJDMB
        {
            get
            {
                return Report.SCLDJDMB / AvgCount;
            }
        }

        public override decimal SCLDHJDMB
        {
            get
            {
                return Report.SCLDHJDMB / AvgCount;
            }
        }

        /// <summary>
        /// 有效  A   卡   建卡   数
        /// </summary>
        public override decimal YXAKJKS
        {
            get
            {
                return Report.YXAKJKS / AvgCount;
            }
        }
        /// <summary>
        /// 商   谈   明   细   表   填   写   数
        /// </summary>
        public override decimal STMXBTXS
        {
            get
            {
                return Report.STMXBTXS / AvgCount;
            }
        }
        /// <summary>
        /// 二 手 车 评 估 数
        /// </summary>
        public override decimal ESCPGS
        {
            get
            {
                return Report.ESCPGS / AvgCount;
            }
        }
        /// <summary>
        /// 置 换 成 交 数
        /// </summary>
        public override decimal ZHCJS
        {
            get
            {
                return Report.ZHCJS / AvgCount;
            }
        }
        /// <summary>
        /// 按 揭 成 交 数
        /// </summary>
        public override decimal AJCJS
        {
            get
            {
                return Report.AJCJS / AvgCount;
            }
        }
        /// <summary>
        /// 当月客户新增订单数
        /// </summary>
        public override decimal DYKHXZDD
        {
            get
            {
                return Report.DYKHXZDD / AvgCount;
            }
        }
        /// <summary>
        /// 新   车   保   险   投   保  数
        /// </summary>
        public override decimal XCBXTBS
        {
            get
            {
                return Report.XCBXTBS / AvgCount;
            }
        }
        /// <summary>
        /// 保       险       销       售       总      额
        /// </summary>
        public override decimal BXXSE
        {
            get
            {
                return Report.BXXSE / AvgCount;
            }
        }
        /// <summary>
        /// 套   餐    车 销   售  数   量
        /// </summary>
        public override decimal TCCXSSL
        {
            get
            {
                return Report.TCCXSSL / AvgCount;
            }
        }
        /// <summary>
        /// 有   效  装 潢   车   销   售   数   量
        /// </summary>
        public override decimal YXZHCXSSL
        {
            get
            {
                return Report.YXZHCXSSL / AvgCount;
            }
        }
        /// <summary>
        /// 装   潢   车     装     潢     销     售          额    （万）
        /// </summary>
        public override decimal ZHCZHXSE
        {
            get
            {
                return Report.ZHCZHXSE / AvgCount;
            }
        }
        /// <summary>
        /// 新 车 延 保 数
        /// </summary>
        public override decimal XCYBS
        {
            get
            {
                return Report.XCYBS / AvgCount;
            }
        }
        /// <summary>
        /// 二次   成  功   邀   约   客  户  数
        /// </summary>
        public override decimal ECCGYYKHS
        {
            get
            {
                return Report.ECCGYYKHS / AvgCount;
            }
        }
        /// <summary>
        /// 当   月      老 客   户   推   荐  成   交 数
        /// </summary>
        public override decimal DYLKHTJCJS
        {
            get
            {
                return Report.DYLKHTJCJS / AvgCount;
            }
        }
        /// <summary>
        /// 销量完成进度
        /// </summary>
        public override decimal XLWCD
        {
            get
            {
                return Report.XLWCD;
            }
        }
        /// <summary>
        /// 来店批次完成进度
        /// </summary>
        public override decimal LDPCWCD
        {
            get
            {
                return Report.LDPCWCD;
            }
        }
        /// <summary>
        /// 来店批次进度差
        /// </summary>
        public override decimal LDPCJDC
        {
            get
            {
                return Report.LDPCJDC;
            }
        }
        /// <summary>
        /// 当月登记客户完成进度
        /// </summary>
        public override decimal DJKHWCJD
        {
            get
            {
                return Report.DJKHWCJD;
            }
        }
        /// <summary>
        /// A   卡需 求 完整分 析 率
        /// </summary>
        public override decimal AKXQWZFXLV
        {
            get
            {
                return Report.AKXQWZFXLV;
            }
        }
        /// <summary>
        /// 商 谈 明 细 表 填 写 率
        /// </summary>
        public override decimal STMXBTXLV
        {
            get
            {
                return Report.STMXBTXLV;
            }
        }
        /// <summary>
        /// 当月登 记 客 户 成 交 率
        /// </summary>
        public override decimal DYDJKHCJLV
        {
            get
            {
                return Report.DYDJKHCJLV;
            }
        }
        /// <summary>
        /// 订单交车转化率
        /// </summary>
        public override decimal DDJCZHLV
        {
            get
            {
                return Report.DDJCZHLV;
            }
        }
        /// <summary>
        /// 当月二手车评估率
        /// </summary>
        public override decimal ESCPGLV
        {
            get
            {
                return Report.ESCPGLV;
            }
        }
        /// <summary>
        /// 当月置换率
        /// </summary>
        public override decimal ZHLV
        {
            get
            {
                return Report.ZHLV;
            }
        }
        /// <summary>
        /// 当 月 保 险 率
        /// </summary>
        public override decimal BXLV
        {
            get
            {
                return Report.BXLV;
            }
        }
        /// <summary>
        /// 当月按揭成交率
        /// </summary>
        public override decimal AJCJLV
        {
            get
            {
                return Report.AJCJLV;
            }
        }
        /// <summary>
        /// 套餐车 销 售 率
        /// </summary>
        public override decimal TCCXSLV
        {
            get
            {
                return Report.TCCXSLV;
            }
        }
        /// <summary>
        /// 有效装潢车销售率
        /// </summary>
        public override decimal YXZHCXSLV
        {
            get
            {
                return Report.YXZHCXSLV;
            }
        }
        /// <summary>
        /// 新车延保实现率
        /// </summary>
        public override decimal XCYBSXLV
        {
            get
            {
                return Report.XCYBSXLV;
            }
        }
        /// <summary>
        /// 二 次  邀 约 成 功 率
        /// </summary>
        public override decimal ECYYCGLV
        {
            get
            {
                return Report.ECYYCGLV;
            }
        }
        /// <summary>
        /// 老 客 户  推 荐 成 功 率
        /// </summary>
        public override decimal LKHTJCGLV
        {
            get
            {
                return Report.LKHTJCGLV;
            }
        }
    }
}
